jade.content.schema
Class ActionPredicateSchema
java.lang.Object
|
+--jade.content.schema.ObjectSchema
|
+--jade.content.schema.ContentElementSchema
|
+--jade.content.schema.PropositionSchema
|
+--jade.content.schema.ActionPredicateSchema
- public class ActionPredicateSchema
- extends PropositionSchema
- Author:
- Federico Bergenti - Universita` di Parma
|
Method Summary |
void |
add(java.lang.String name,
GenericActionSchema actionSchema)
Add parameters to the schema. |
void |
add(java.lang.String name,
GenericActionSchema actionSchema,
int cardinality)
Add parameters to the schema. |
void |
add(java.lang.String name,
TermSchema termSchema)
Add parameters to the schema. |
void |
add(java.lang.String name,
TermSchema termSchema,
int cardinality)
Add parameters to the schema. |
AbsObject |
newInstance()
Creates a new instance. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ActionPredicateSchema
public ActionPredicateSchema(java.lang.String name)
- Constructor
- Parameters:
name - name of the schema.
add
public void add(java.lang.String name,
GenericActionSchema actionSchema)
- Add parameters to the schema.
- Parameters:
name - name of the parameter.actionSchema - the schema of the parameter.
add
public void add(java.lang.String name,
GenericActionSchema actionSchema,
int cardinality)
- Add parameters to the schema.
- Parameters:
name - name of the parameter.actionSchema - the schema of the parameter.cardinality - the cardinality, i.e., optional or mandatory.
add
public void add(java.lang.String name,
TermSchema termSchema)
- Add parameters to the schema.
- Parameters:
name - name of the parameter.termSchema - schema of the parameter.
add
public void add(java.lang.String name,
TermSchema termSchema,
int cardinality)
- Add parameters to the schema.
- Parameters:
name - name of the parameter.actionSchema - the schema of the parameter.cardinality - the cardinality, i.e., optional or mandatory.
newInstance
public AbsObject newInstance()
- Creates a new instance.
- Overrides:
- newInstance in class PropositionSchema
- Returns:
- teh new instance.